package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient("gulimall-coupon")//告诉SpringCloud，这个接口是一个远程客户端，要调用远程服务
public interface CouponFeignService {

    @RequestMapping("coupon/coupon/member/list")//这个会员的所有优惠券信息
    //在这里的路径要写全
    public R membercoupons();
}
